from django.urls import path
from apps.users.views import UsernameCountView, MobileCountView, RegisterView
from apps.users.views import LogInView,LogoutView,CenterView,EmailView,EmailVerifyView
from apps.users.views import UserHistoryView,ChangePasswordView
urlpatterns = [
    path('usernames/<username:username>/count/',UsernameCountView.as_view()),
    path('mobiles/<mobile:mobile>/count/',MobileCountView.as_view()),
    path('register/',RegisterView.as_view()),
    path('login/',LogInView.as_view()),
    path('logout/',LogoutView.as_view()),
    path('info/',CenterView.as_view()),
    path('emails/',EmailView.as_view()),
    path('emails/verification/',EmailVerifyView.as_view()),
    path('browse_histories/',UserHistoryView.as_view()),
    path('password/',ChangePasswordView.as_view()),



]